<template lang="pug">
  .tu-input
    label {{label}}
      span.required(v-show="validate && validate.required") *
    input(
      type="text"
      :value="currentValue"
      @input="handleInput"
      :placeholder="placeholder"
      )
</template>

<script type="text/ecmascript-6">
  import { js } from './index-vue.js'
  export default js.call(this)
</script>

<style lang="stylus" rel="stylesheet/stylus" scoped>
  @import './index.styl'
</style>
